Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Adds conceptual content to API docs #202305

Merged

Conversation

natasha-moore-elastic
Copy link
Contributor

@natasha-moore-elastic natasha-moore-elastic commented Nov 29, 2024

Summary

Resolves https://github.com/elastic/security-docs-internal/issues/49.

In order to retire asciidoc API docs, we first need to move over any relevant content from those docs to the API reference site. This PR adds the relevant conceptual information from:

Previews:

Bump previews expire after 30min, so I'm providing screenshots below:

Detections preview:
detections_preview

Exceptions preview:
exceptions_preview

Lists preview:
lists_preview

@natasha-moore-elastic natasha-moore-elastic added Team:Docs release_note:skip Skip the PR/issue when compiling release notes Feature:Detection Rules Security Solution rules and Detection Engine docs Team:Detections and Resp Security Detection Response Team Feature:Rule Exceptions Security Solution Detection Rule Exceptions area APIDocs Team:Detection Rule Management Security Detection Rule Management Team Team:Detection Engine Security Solution Detection Engine Area v8.16.0 backport:version Backport to applied version labels v8.17.0 labels Nov 29, 2024
@natasha-moore-elastic natasha-moore-elastic self-assigned this Nov 29, 2024
@natasha-moore-elastic natasha-moore-elastic marked this pull request as ready for review December 3, 2024 16:47
@natasha-moore-elastic natasha-moore-elastic requested review from a team as code owners December 3, 2024 16:47
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-docs (Team:Docs)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-engine (Team:Detection Engine)

Copy link
Contributor

@maximpn maximpn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@natasha-moore-elastic Thanks for addressing my comments 🙏

It looks cleaner though I'm a bit concerned with maintainability and have some ideas regarding "prototype" files

  • Term "prototype" isn't well known and may confuse readers. oas_docs folder uses kibana.info.yaml. Maybe we could stick to the same naming for consistency. For example rename exceptions_prototype_ess.yaml to exceptions_ess.info.yaml.
  • "Prototype" files aren't documentation on its own. It doesn't look like such files should be placed in docs folder. I'd prefer location next to the script files to make it much more prominent that these new YAML files belong to scripts. It's ok to put them in a subfolder.

WDYT?

@natasha-moore-elastic
Copy link
Contributor Author

natasha-moore-elastic commented Dec 10, 2024

@natasha-moore-elastic Thanks for addressing my comments 🙏

It looks cleaner though I'm a bit concerned with maintainability and have some ideas regarding "prototype" files

  • Term "prototype" isn't well known and may confuse readers. oas_docs folder uses kibana.info.yaml. Maybe we could stick to the same naming for consistency. For example rename exceptions_prototype_ess.yaml to exceptions_ess.info.yaml.
  • "Prototype" files aren't documentation on its own. It doesn't look like such files should be placed in docs folder. I'd prefer location next to the script files to make it much more prominent that these new YAML files belong to scripts. It's ok to put them in a subfolder.

WDYT?

Thanks @maximpn – I as mentioned above, I wasn't sure about the naming and location for the new files, so this is useful feedback. 🙏

I'd prefer location next to the script files to make it much more prominent that these new YAML files belong to scripts. It's ok to put them in a subfolder.

Just to clarify, should the files be directly inside the scripts folder, next to the script files (for example, inside packages/kbn-securitysolution-lists-common/scripts), or should they be in a subfolder inside the scripts folder (for example, packages/kbn-securitysolution-lists-common/scripts/<subfolder>)? If they should be in a subfolder inside scripts, what should the subfolder be called?

@maximpn
Copy link
Contributor

maximpn commented Dec 11, 2024

Just to clarify, should the files be directly inside the scripts folder, next to the script files (for example, inside packages/kbn-securitysolution-lists-common/scripts), or should they be in a subfolder inside the scripts folder (for example, packages/kbn-securitysolution-lists-common/scripts/<subfolder>)? If they should be in a subfolder inside scripts, what should the subfolder be called?

@natasha-moore-elastic It looks like having a subfolder will be consistent across different cases. Some name like openapi_bundle_info should ring a bell the folder is related to the bundling script.

Copy link
Contributor

@maximpn maximpn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@natasha-moore-elastic Thanks for addressing my comments 👍

Bundling scripts and Rule Management changes LGTM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Do you think the folder name detections_bundle_info would be better?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For that folder I followed the name of the script, which is bundle_detections.js, so I'm inclined to leave it as is if it doesn't make a huge difference.

@vitaliidm vitaliidm self-requested a review December 12, 2024 10:22
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #16 / Entity Manager _search API includes source and additional metadata fields

Metrics [docs]

✅ unchanged

History

cc @natasha-moore-elastic

@natasha-moore-elastic natasha-moore-elastic merged commit cebcf01 into elastic:main Dec 12, 2024
8 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.17

https://github.com/elastic/kibana/actions/runs/12301048666

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.16 Backport failed because of merge conflicts
8.17 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.17:
- [Security Solution] Fixes exception item comment validation on newline chars \n (#202063)

Manual backport

To create the backport manually run:

node scripts/backport --pr 202305

Questions ?

Please refer to the Backport tool documentation

@natasha-moore-elastic
Copy link
Contributor Author

💔 Some backports could not be created

Status Branch Result
8.x
8.17 Conflict resolution was aborted by the user
8.16

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 202305

Questions ?

Please refer to the Backport tool documentation

natasha-moore-elastic added a commit to natasha-moore-elastic/kibana that referenced this pull request Dec 12, 2024
## Summary

Resolves elastic/security-docs-internal#49.

In order to retire asciidoc API docs, we first need to move over any
relevant content from those docs to the API reference site. This PR adds
the relevant conceptual information from:

-
https://www.elastic.co/guide/en/security/master/exceptions-api-overview.html
-
https://www.elastic.co/guide/en/security/master/lists-api-overview.html
- https://www.elastic.co/guide/en/security/master/rule-api-overview.html

### Previews:
Bump previews expire after 30min, so I'm providing screenshots below:

Detections preview:

![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)

Exceptions preview:

![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)

Lists preview:

![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit cebcf01)

# Conflicts:
#	oas_docs/output/kibana.serverless.yaml
#	packages/kbn-securitysolution-lists-common/docs/openapi/ess/security_solution_lists_api_2023_10_31.bundled.schema.yaml
#	packages/kbn-securitysolution-lists-common/docs/openapi/serverless/security_solution_lists_api_2023_10_31.bundled.schema.yaml
@natasha-moore-elastic
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.17

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

natasha-moore-elastic added a commit to natasha-moore-elastic/kibana that referenced this pull request Dec 12, 2024
## Summary

Resolves elastic/security-docs-internal#49.

In order to retire asciidoc API docs, we first need to move over any
relevant content from those docs to the API reference site. This PR adds
the relevant conceptual information from:

-
https://www.elastic.co/guide/en/security/master/exceptions-api-overview.html
-
https://www.elastic.co/guide/en/security/master/lists-api-overview.html
- https://www.elastic.co/guide/en/security/master/rule-api-overview.html

### Previews:
Bump previews expire after 30min, so I'm providing screenshots below:

Detections preview:

![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)

Exceptions preview:

![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)

Lists preview:

![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit cebcf01)

# Conflicts:
#	oas_docs/output/kibana.serverless.yaml
#	packages/kbn-securitysolution-lists-common/docs/openapi/ess/security_solution_lists_api_2023_10_31.bundled.schema.yaml
#	packages/kbn-securitysolution-lists-common/docs/openapi/serverless/security_solution_lists_api_2023_10_31.bundled.schema.yaml
natasha-moore-elastic added a commit that referenced this pull request Dec 13, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[DOCS] Adds conceptual content to API docs
(#202305)](#202305)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"natasha-moore-elastic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-12T16:53:29Z","message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","Feature:Detection
Rules","docs","Team:Detections and Resp","Feature:Rule
Exceptions","APIDocs","Team:Detection Rule Management","Team:Detection
Engine","backport:version","v8.17.0","v8.16.2"],"number":202305,"url":"https://github.com/elastic/kibana/pull/202305","mergeCommit":{"message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202305","number":202305,"mergeCommit":{"message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
natasha-moore-elastic added a commit that referenced this pull request Dec 13, 2024
# Backport

This will backport the following commits from `main` to `8.17`:
- [[DOCS] Adds conceptual content to API docs
(#202305)](#202305)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"natasha-moore-elastic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-12T16:53:29Z","message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","Feature:Detection
Rules","docs","Team:Detections and Resp","Feature:Rule
Exceptions","APIDocs","Team:Detection Rule Management","Team:Detection
Engine","backport:version","v8.17.0","v8.16.2"],"number":202305,"url":"https://github.com/elastic/kibana/pull/202305","mergeCommit":{"message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202305","number":202305,"mergeCommit":{"message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/204108","number":204108,"state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/204106","number":204106,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->
natasha-moore-elastic added a commit that referenced this pull request Dec 13, 2024
# Backport

This will backport the following commits from `main` to `8.16`:
- [[DOCS] Adds conceptual content to API docs
(#202305)](#202305)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"natasha-moore-elastic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-12T16:53:29Z","message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","Feature:Detection
Rules","docs","Team:Detections and Resp","Feature:Rule
Exceptions","APIDocs","Team:Detection Rule Management","Team:Detection
Engine","backport:version","v8.17.0","v8.16.2"],"number":202305,"url":"https://github.com/elastic/kibana/pull/202305","mergeCommit":{"message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202305","number":202305,"mergeCommit":{"message":"[DOCS]
Adds conceptual content to API docs (#202305)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/security-docs-internal/issues/49.\r\n\r\nIn
order to retire asciidoc API docs, we first need to move over
any\r\nrelevant content from those docs to the API reference site. This
PR adds\r\nthe relevant conceptual information
from:\r\n\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/exceptions-api-overview.html\r\n-\r\nhttps://www.elastic.co/guide/en/security/master/lists-api-overview.html\r\n-
https://www.elastic.co/guide/en/security/master/rule-api-overview.html\r\n\r\n###
Previews:\r\nBump previews expire after 30min, so I'm providing
screenshots below:\r\n\r\nDetections
preview:\r\n\r\n![detections_preview](https://github.com/user-attachments/assets/c47b9d85-b5d0-4a32-8668-dc1ae2215681)\r\n\r\nExceptions
preview:\r\n\r\n![exceptions_preview](https://github.com/user-attachments/assets/b3fe9139-2162-4c56-bba9-751dffa11cb4)\r\n\r\nLists
preview:\r\n\r\n![lists_preview](https://github.com/user-attachments/assets/1c714f17-825d-45c7-8112-cc3d25c51047)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"cebcf01d35b84308e1ca9eabed694864a9e39ed9"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
@banderror
Copy link
Contributor

@natasha-moore-elastic Reviewed post-merge, but LGTM 👍

Thank you for making this improvement! Wondering what's the plan for the rest of the pages outlined in https://github.com/elastic/security-docs-internal/issues/49?

@natasha-moore-elastic
Copy link
Contributor Author

@natasha-moore-elastic Reviewed post-merge, but LGTM 👍

Thank you for making this improvement! Wondering what's the plan for the rest of the pages outlined in elastic/security-docs-internal#49?

Thanks for having a look @banderror!

We reviewed all asciidoc pages that had conceptual information (mentioned in https://github.com/elastic/security-docs-internal/issues/49) to see what needs to be moved over to the API reference. The content that wasn't moved over in this PR was either outdated or already exists elsewhere in the API reference/UI docs, so we decided against moving/duplicating that content.
If you feel we've missed anything, feel free to reopen https://github.com/elastic/security-docs-internal/issues/49 – we always welcome dev feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APIDocs backport:version Backport to applied version labels docs Feature:Detection Rules Security Solution rules and Detection Engine Feature:Rule Exceptions Security Solution Detection Rule Exceptions area release_note:skip Skip the PR/issue when compiling release notes Team:Detection Engine Security Solution Detection Engine Area Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team:Docs v8.16.2 v8.17.0 v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants